package net.blank.ui.core
{
	import flash.events.Event;
	
	/**
	 * UI事件
	 * @author blank
	 * 
	 */
	public class UIEvent extends Event
	{
		/**
		 * UI对象的大小发生改变时派发
		 */
		public static const RESIZE:String="resize";
		
		/**
		 * UI对象的位置发生改变时派发
		 */
		public static const MOVE:String="move";
		
		/**
		 * UI事件
		 * @param type
		 * @param bubbles
		 * @param cancelable
		 * 
		 */
		public function UIEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event{
			return new UIEvent(type, bubbles, cancelable);
		}
	}
}